package operation;

import book.Book;
import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-03-12
 * Time: 21:51
 */
public class ShowOperation implements IOperation{
    public void work(BookList bookList) {
        System.out.println("...显示图书...");
        for(int i = 0; i < bookList.getUseSize(); i++) {
            System.out.println(bookList.getBook(i));
        }
    }

}
